|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectraar.process.RAProcess
raar.process.sensor.RASensor
raar.process.sensor.RACompass
Returns the angle the agent currently is in.
| Field Summary |
| Fields inherited from class raar.process.sensor.RASensor |
emulateRegisterNames, emulateRegisterObjects, output, outputName |
| Fields inherited from class raar.process.RAProcess |
hasRun, inregister, outregister, register, sourceCode, statement |
| Constructor Summary | |
RACompass(RAAgent agent)
Construct. |
|
| Method Summary | |
java.lang.String |
explain()
Give a String that explains what the sensor does. |
void |
run()
Implemented run method, from the super class. |
java.lang.String |
toString()
Sensor string representation. |
| Methods inherited from class raar.process.sensor.RASensor |
acceptsInput, dumpRegisters, execute, get, getAgent, getColor, getDataType, getInputNames, getInputObjects, getOutputNames, getOutputObjects, getSensorValue, isSpecial, set, setAgent, setOutput, setSourceCode, suppliesOutput |
| Methods inherited from class raar.process.RAProcess |
clone, getProcessName, getSourceCode, reset, setProcessName |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RACompass(RAAgent agent)
| Method Detail |
public void run()
throws RAException
run in class RASensorRAExceptionpublic java.lang.String toString()
toString in class RASensorpublic java.lang.String explain()
explain in class RASensor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||